package al.ui;

import java.awt.Graphics;
import java.awt.Image;

import javax.swing.JPanel;

class Panneau extends JPanel {
	private Image photo = null; 
	public Panneau(String adresse) {
		photo = getToolkit().getImage(adresse) ; 
	} 
	public void paintComponent(Graphics g) {
		super.paintComponent(g) ; 
		int x=0, y=0 ; 
		if(photo != null) {
			g.drawImage (photo, x, y, this);
			} 
		}
} 